Skip to content

[TASK] Move ParserTest to Unit namespace#1592

Closed
JakeQZ wants to merge 1 commit into
mainfrom
test/unit-parser
Closed

[TASK] Move ParserTest to Unit namespace#1592
JakeQZ wants to merge 1 commit into
mainfrom
test/unit-parser

Conversation

@JakeQZ

@JakeQZ JakeQZ commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

The test methods in this class are unit tests, testing only the Parser class.

The test methods in this class are unit tests, testing only the `Parser`
class.
@JakeQZ JakeQZ requested a review from oliverklee June 15, 2026 18:49
@JakeQZ JakeQZ self-assigned this Jun 15, 2026
@JakeQZ JakeQZ added cleanup testing PRs/issues adding additional tests only, or primarily testing-focused refactor For PRs that refactor code without changing functionality labels Jun 15, 2026
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 73.3%. remained the same — test/unit-parser into main

@JakeQZ

JakeQZ commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator Author

Actually, Parser::parse() just calls on to Document::parse(), so I don't think this change is valid. Aborting.

@JakeQZ JakeQZ closed this Jun 15, 2026
@JakeQZ JakeQZ deleted the test/unit-parser branch June 15, 2026 22:36
@oliverklee

Copy link
Copy Markdown
Collaborator

Yeah, I vaguely remember discussing this a long time ago and then concluding that the parser tests need to be functional or integration as the parser class makes heavy use of almost all other classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup refactor For PRs that refactor code without changing functionality testing PRs/issues adding additional tests only, or primarily testing-focused

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants